#!/usr/bin/env python3
# Created by han on 2016/6/15
import re

# def test(arg):
#   ret = re.findall("\(.+\)",arg)
#   return ret
#
# a = "1+2*5+(2+1)"
# b = test(a)
# print(b)
#
# print((b[0]))

# a = re.findall(r'I\b',"I&AM AID")
# print(a)


# a= re.match("com","Comwww.runComoob",re)
# a= re.finditer("com","www.runcomoobcom")
# for i in a:
#     a = i.start()
#     b = i.end()
#     c = i.span()
#     d = i.group()
# #     print(a,b,c,d)
# a = "jgood is a handsome boy, he is cool, clever, and so on ...."
# ret = re.compile(r"\W*oo\W*")
# print(ret.findall(a))

# a = "has adaf\comnf"
# b = re.match("h(?P<name>\w+)",a)
# print(b.group())
# print(b.groups())
# print(b.groupdict())

# a = "hasabba asdfaf halabba 91293jf"
# b = re.findall("h(\w+)(ab)ba",a)
# print(b)


# a = "hello abc asdfaf abc ;kjlk;jadf asdfabcaf"
# b = re.split("(a(b)c)",a)
# print(b)

import re,sys,os
# # sys.path.append(os.path.dirname(os.path.abspath(__file__)))
# sys.path.append(os.path.dirname(os.path.abspath(__file__)))
# import calcu
#
#
# a = "3+2*4/2"
# a = 8 + 6.0
# print(a)
#
# while True:
#     if "*"  in  a   or "/" in a:
#         b =re.search(r"\d[*/]\d",a).group() #2*4
#         print(b)
#         # if not b:
#         mul_str = calcu.mul(b)
#         print(mul_str)
#         a = re.sub(r"\d[*/]\d",str(mul_str),a,1)
#         print(a)
#     else:
#         print(a)
#         break
# #     mulstr = calcu.mul(b)
# #     new = re.sub(r"\d\*\d",int(mulstr),a)
# # print(new)
# #     # li = []
#     # for i in a:
#     #     li.append(i)
#     # print(li)


# a = ['8', '+', '6']
# num = float(a[0])
# for i in range(len(a)):
#     if i%2 !=0:
#         num += float(a[i+1])
# print(num)

import re

# a = "asdfafd123.094*43.123asdaf"
# b = re.search(r"\d*\.?\d+[*/]\d+\.?\d*",a)
# print(b.group())

#如果加法前面有符号怎么办》？
#a = "5+2--1+6.3333--10"   #(-5)(+)(-2)(+)(-4)
# if "+" in a and "-" in a:
# ret = re.split(r"(-?\d+)(\W)",a)
# ret = re.split(r"-?\d+(\W)-?\d+",a)
# ret = re.split(r"(\W?\d+\.?\d*)(\W)?",a)
# print(ret)
# li = []
# for i in ret:
#     if i:
#        li.append(i)
# print(li)
# num = float(li[0])
# print(num)
# for r in range(len(li)):
#     print(r)
#     if r % 2 != 0:
#         print(li[r])
#         if li[r] == "+":
#           num += float(li[r+1])
#           print(num)
#         else:
#             num -= float(li[r+1])
#             print(num)
#     else:
#         continue
# print(num)

                           #-2     +   -4
# num = int(ret[1])
# print(num)
# for c in range(len(ret)):
#     print(ret[c])
#     if c!=0 and c%2 == 0:
#         num += int(ret[c+1])
#         print(num)
# print(num)

# print(b)

# b = re.search(r"-?\d*\.?\d+[*/]\d+\.?\d*",a)
# a = ["han","shi"]
# b = ["28","31"]
# c={"name":"han","age":123}
# s2 = "my name is {:*^10.3}  ".format(1.2333)
# print(s2)
import re
a = "1 - 2 * ( (60-30 +(-40.0/5) * (9-2*5/3 + 7 /3*99/4*2998 +10 * 568/14 )) - (-4*3)/ (16-3*2) )"
if " " in a:
    print("yes")

b = re.split(" ", a)
c= "".join(b)
print(c)